package com.gxsyh.nantie.user.management.provider.controller.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.gxsyh.nantie.user.management.provider.domain.TbDepartment;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @email yom535@outlook.com
 * @author: 刘锋嘉(Liu Fengjia)
 * @date: 2020/1/7
 * @time: 16:02
 * @Description:
 */
@Data
public class DetailedInformationDTO {
    @JsonSerialize(using= ToStringSerializer.class)
    private Long id;
    private String username;
    private String jobNumber;
    private String name;
    private String idCard;
    private String subsidyStatus;
    private String info;
    private String sex;
    private String userStatus;
    private List<TbDepartment> parentDepartment;
    private String phone;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date created;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updated;
}
